package cn.yunbamboos.db.sql;

import cn.yunbamboos.db.metadata.TableMetadata;
import cn.yunbamboos.exception.AppException;

/**
 *  String  string 字符串
 *  String  datetime  2024-01-01 00:00:00
 * */
public abstract class GenerateSql {

    protected static final String LINE_BREAK = "\n";

    protected static final String SPACE = " ";

    protected static final String LEFT_BRACKET = "(";

    protected static final String RIGHT_BRACKET = ")";

    protected static final String COMMA = ",";

    protected static final String BACKQUOTE = "`";

    protected TableMetadata tableMetadata;

    public GenerateSql(TableMetadata tableMetadata) {
        this.tableMetadata = tableMetadata;
    }

    public String toCreateTableSql(){
        throw AppException.c("toCreateTableSql 未实现");
    }
}
